package com.start.im.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StartBaseMessage {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @Schema(name = "发送人id")
    private String sendUserId;
    @Schema(name = "发送人用户类型")
    private String sendStartUserType;
    @Schema(name = "发送人客户端类型")
    private String sendClientType;
    @Schema(name = "消息内容")
    private String msgContent;
    @Schema(name = "消息类型")
    private String msgType;
    @Schema(name = "会话Id")
    private String conversationId;
    @Schema(name = "发送时间")
    private LocalDateTime sendTime;

}
